package com.eaoa.uc.dictionary.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.eaoa.utils.ConstantsContainer;
import com.stony.core.struts.action.BaseAction;


public class ConstantsRefreshAction extends BaseAction {

	protected ActionForward doAction(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {

		ConstantsContainer.getInstants().refresh();

		return mapping.findForward("success");

	}

}